package com.zmx.b2c.order.api;

import com.zmx.b2c.order.dto.B2COrderDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: b2c订单对内接口
 * @Author zhaomxr
 * @Date 2021-11-03 11:02
 */
@RequestMapping("api/b2c/order")
public interface OrderApi {

    /**
     * 根据订单编码取订单信息
     * @param orderCode
     * @return
     */
    @GetMapping("getOrderByCode")
    B2COrderDto getOrderByCode(@RequestParam(value = "orderCode", required = true) String orderCode);
}
